import { escloudHttp } from '@/utils/http/axios';
import { GetUserInfoModel } from './model/userModel';

enum Api {
  GetUserInfo = '/es1688-member/jfdsmsMember/registrant/memberInfo',
}

/**
 * @description: getUserInfo
 */
export function getUserInfo() {
  return escloudHttp.post<GetUserInfoModel>({ url: Api.GetUserInfo }, { errorMessageMode: 'none' });
}
